-- bine_revive
-- create by cheny3
-- 复活魔藤

return {
    -- 判断
    canTrigger = function(args)
        return BineM.canRevive() == true;
    end,

    -- 触发
    trigger = function(args)
        local bine = ME.user.bine;
        local classId = bine.classId;
        if BineM.query(classId, "alias") ~= "magic_bine" then
            -- 不是魔藤
            return false;
        end

        return DungeonActionM.go("bine_revive");
    end,
};
